﻿
@using WxxMail.MVC.Models
@model AnswerListModel
@{
    ViewBag.Title = "Home Page";
    Layout ="~/Views/Shared/_Layout.cshtml";
}
<a href="/Table/Index">表单</a>
<a href="/Home/AddView">Buttons</a>
<div class="col-sm-7">
    <div class="box">
        <header class="bg-turquoise text-white">
            <h4>Last 10 Users</h4>
        </header>
        <div class="box-body p-a-0 max-h-lg ps">
            <table class="table table-inverse ps" data-plugin="tablesorter">
                <thead>
                    <tr>
                        <th><input type="checkbox" id="checkall" class="group-checkable" /></th>
                        <th>1</th>
                        <th>2</th>
                       <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    @foreach (var m in Model.answerlist)
                    {
                        <tr>

                            <td><input type="checkbox" class="checkboxes" name='ids' value='@m.AnswerId' /></td>
                            <td>@Html.DisplayFor(modelItem => m.AnswerContent)</td>
                            <td>@m.BestNum</td>
                            <td>
                                <a class="btn mini purple thickbox" title='编辑' style="color:white" href="@Url.Action("Edit", new { id = m.AnswerId })?TB_iframe=true&height=400&width=650">
                                    <i class="icon-edit"></i>
                                    编辑
                                </a>
                            </td>
                        </tr>

                    }
                    @*
                    <tr>
                        <td>2</td>
                        <td>Antonette</td>
                        <td>Ervin Howell</td>
                        <td>Shanna@melissa.tv</td>
                        <td>Wisokyburgh</td>
                    </tr>
                    <tr>
                        <td>3</td>
                        <td>Samantha</td>
                        <td>Clementine Bauch</td>
                        <td>Nathan@yesenia.net</td>
                        <td>McKenziehaven</td>
                    </tr>
                    <tr>
                        <td>4</td>
                        <td>Karianne</td>
                        <td>Patricia Lebsack</td>
                        <td>Julianne.OConner@kory.org</td>
                        <td>South Elvis</td>
                    </tr>
                    <tr>
                        <td>5</td>
                        <td>Kamren</td>
                        <td>Chelsey Dietrich</td>
                        <td>Lucio_Hettinger@annie.ca</td>
                        <td>Roscoeview</td>
                    </tr>
                    <tr>
                        <td>6</td>
                        <td>Leopoldo_Corkery</td>
                        <td>Mrs. Dennis Schulist</td>
                        <td>Karley_Dach@jasper.info</td>
                        <td>South Christy</td>
                    </tr>
                    <tr>
                        <td>7</td>
                        <td>Elwyn.Skiles</td>
                        <td>Kurtis Weissnat</td>
                        <td>Telly.Hoeger@billy.biz</td>
                        <td>Howemouth</td>
                    </tr>
                    <tr>
                        <td>8</td>
                        <td>Maxime_Nienow</td>
                        <td>Nicholas Runolfsdottir V</td>
                        <td>Sherwood@rosamond.me</td>
                        <td>Aliyaview</td>
                    </tr>
                    <tr>
                        <td>9</td>
                        <td>Delphine</td>
                        <td>Glenna Reichert</td>
                        <td>Chaim_McDermott@dana.io</td>
                        <td>Bartholomebury</td>
                    </tr>
                    <tr>
                        <td>10</td>
                        <td>Moriah.Stanton</td>
                        <td>Clementina DuBuque</td>
                        <td>Rey.Padberg@karina.biz</td>
                        <td>Lebsackbury</td>
                    </tr>*@
                </tbody>
            </table>
        </div>
    </div>
</div>
